import request from "@/utils/request";
export function getSkillList() {
  return request({
    url: "/skill",
    method: "get"
  });
}
export function addSkill(skill) {
  return request({
    url: "/admin/skill",
    method: "post",
    data: { skill }
  });
}

export function delSkill(id) {
  return request({
    url: `/admin/skill/${id}`,
    method: "delete"
  });
}
